-- card: 15212 from stack: in.5 -- bmap block id: 17885 -- flags: 0000 -- background id: 3858 -- name: PlotPICT -- part 1 (button) -- low flags: 00 -- high flags: A002 -- rect: left=65 top=212 right=246 bottom=182 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 8192 -- line height: 16 -- part name: Clip to HC window ----- HyperTalk script ----- on mouseUp PlotPICT "splash", "", "", "0,0,640,480" end mouseUp -- part 2 (button) -- low flags: 00 -- high flags: A002 -- rect: left=80 top=165 right=199 bottom=173 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 8192 -- line height: 16 -- part name: No Clipping ----- HyperTalk script ----- on mouseUp PlotPICT "splash", "", "", "0,0,640,480", "noclipping" end mouseUp -- part 3 (button) -- low flags: 00 -- high flags: A002 -- rect: left=74 top=261 right=295 bottom=176 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 8192 -- line height: 16 -- part name: RedrawDesktop ----- HyperTalk script ----- on mouseUp UpdateDesktop end mouseUp -- part contents for background part 38 ----- text ----- 36/50 -- part contents for background part 20 ----- text ----- Draws a PICT resource from the in the current stack or any file on any mounted volume. May specify the PICT by name or ID. PICT #0 is used if neither is specified. The PICT will be within the boundaries of the current card or over top of EVERYTHING in the specified rectangle. Calling Syntax: PlotPICT , , , , <“NoClipping”>, <“noDialog”:errorGlobal> the name of the PICT resource the number of the PICT resource the path to the file containing the PICT. the current stack is used if filename is specified. the rect into which the PICT will be drawn (in global coordinates). <“NoClipping”> if the literal string “NoClipping” is passed the pict will be drawn overtop of EVERYTHING (window, windoids, menubar, etc). The XCMD “RedrawDesktop” (contained in this stack) can be used to cleanup after this XCMD. It will force a redraw of all windows and the desktop, getting rid of all traces of the PICT.